package basicelement;

import istar.agent.IstarJadeAgent;
import istar.behaviour.IstarBehaviour;
import istar.impl.AbstractBasicResource;
import istar.impl.AbstractBasicTask;
import jade.core.Agent;
import jade.core.behaviours.Behaviour;
import jade.core.behaviours.OneShotBehaviour;

public class AssemblySellOrder extends AbstractBasicTask {

	private boolean log = true;
		
		public AssemblySellOrder() {
			super("AssemblySellOrder"); 
		}

		@Override
		public Behaviour getBehaviour() {
			//return new myBehaviour((IstarJadeAgent)this.getOwner(), this);
			return new myBehaviour(this);
		}
		
		private class myBehaviour extends IstarBehaviour{

			AbstractBasicTask task;
			
			public myBehaviour(AbstractBasicTask _task){
				super(_task);
			}

			@Override
			public void myAction() {
				
			}
			
			
			
			@Override
			public int myOnEnd() {
				// TODO Auto-generated method stub
				return 1;
			}

			@Override
			public boolean done() {
				return true;
			}
		}
}

